home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20010306-20010921 / 000090_news@columbia.edu _Mon Apr 30 13:45:45 2001.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA14644
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Mon, 30 Apr 2001 13:45:44 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA07875
  7.     for kermit.misc@watsun.cc.columbia.edu; Mon, 30 Apr 2001 13:27:08 -0400 (EDT)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: fdc@columbia.edu (Frank da Cruz)
  10. Subject: Re: renaming during ftp
  11. Date: 30 Apr 2001 17:27:06 GMT
  12. Organization: Columbia University
  13. Message-ID: <9ck79a$7m0$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@columbia.edu
  15.  
  16. In article <9ck60u$hds$1@kermit.esat.net>,
  17. Dermot Beirne <dermot.beirne@walshwestern.com> wrote:
  18. : We have a HP 9000 server running 10.20 that sends files to a customer using
  19. : ftp.  These files are renamed to include the time after being sent, and put
  20. : in a backup directory.  The current script is sending a file, quitting out
  21. : of ftp, then renaming it and backing it up, then logging in again to send
  22. : the next one, and so on!  This means the files are timestamped with the time
  23. : they were sent, which is what we want, but because there could typically be
  24. : 200 or 300 files every few minutes, this is very slow and inefficent.
  25. Yes indeed.  You would like to have an FTP client that can do all this
  26. on a per-file basis automatically, right?
  27.  
  28. HP-UX comes with a program called "kermit".  The version bundled with
  29. HP-UX 10.20 is 6.0, which does most of this with Kermit (not FTP) protocol.
  30. Version 7.0 (which HP hasn't picked up yet) does even more of this, but
  31. still not with FTP protocol.
  32.  
  33. Version 7.1, which HP will pick up for HP-UX 11.20, does all this for FTP
  34. connections too.  It has a whole built-in, scriptable FTP client.  You can
  35. try it right now.  See:
  36.  
  37.   http://www.columbia.edu/kermit/ftpclient.html
  38.  
  39. and (for a tutorial on FTP scripting):
  40.  
  41.   http://www.columbia.edu/kermit/ftpscript.html
  42.  
  43. It is available for HP-UX 10.20 and every other version of HP-UX from
  44. 5.21 to 11.xx.
  45.  
  46. : This will send all the files starting with p to the customer.  If the script
  47. : has to send 300 files in one go, by the time it gets to timestamping and
  48. : backing them up, the times can but several minutes out.  I would like to
  49. : timestamp them at the time they were actually sent and then send the next
  50. : one without logging out.  Has anyone done this?  If so then any advice would
  51. : be appreciated.
  52. It can do all this too, but it's a bit too much to explain in this message.
  53. If you pick up the C-Kermit 7.1 FTP client and start working with it, I'll
  54. be glad to help you with this part.
  55.  
  56. - Frank